<template>
    <div>
        name:<a-input v-model="user.name" ></a-input>
        address:<a-input v-model="user.address" ></a-input>
        <a-button @click="returnData" >返回数据</a-button>
    </div>
</template>

<script>
import {Util} from "@lowcode/jpaas-base-lib";
export default {
    name: "democomp",
    data(){
        return {
            user:{
                name: "ray",
                address:"gz"
            }

        }
    },
    methods:{
        returnData(){
            Util.closeWindow(this,"ok",this.user);
        }
    }
}
</script>

<style scoped>

</style>
